<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="org.springside.modules.security.domain">
    <class name="PortletParameter" table="portlet_parameter" dynamic-insert="true" dynamic-update="true">
		<id name="id" type="integer">
			<column name="id" />
			<generator class="native" >
			  <param name="sequence">SYSTEM_PORTLETPARAMETER_ID_SEQ</param>
			</generator>
		</id>
		<many-to-one name="portlet" class="org.springside.modules.security.domain.Portlet" fetch="select">
            <column name="portlet_id" />
        </many-to-one>
		<property name="parameterName" type="string">
			<column name="parameter_name" length="200" />
		</property>
		<property name="parameterValue" type="string">
			<column name="parameter_value" length="200" />
		</property>
    </class>
</hibernate-mapping>
